﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using Sector7.Framework.Core;

namespace Sector7.Medical.EntityType
{
    /// <summary>
    /// 门诊类型实体类
    /// </summary>
    [Serializable()]
    [DataContract]
    public class M7_OutpatientType
    {
        #region Accessor
        /// <summary>
        /// 获取或设置门诊类型编码
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public int OutpatientTypeId { get; set; }

        /// <summary>
        /// 获取或设置门诊类型名称
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string OutpatientTypeName { get; set; }

        /// <summary>
        /// 获取或设置门诊类型描述
        /// </summary>
        [DataMember]
        [DBFieldAttribute]
        public string Description { get; set; }
        #endregion

        #region Structure

        public M7_OutpatientType()
        { 
        }

        public M7_OutpatientType(int outpatientTypeId, string outpatientTypeName)
        {
            OutpatientTypeId = outpatientTypeId;
            OutpatientTypeName = outpatientTypeName;
        }

        #endregion
    }
}
